[XEN] Pin l3 shadows of older x86_64 linux guests.
authorTim Deegan <Tim.Deegan@xensource.com>
Thu, 23 Nov 2006 17:46:52 +0000 (17:46 +0000)
committerTim Deegan <Tim.Deegan@xensource.com>
Thu, 23 Nov 2006 17:46:52 +0000 (17:46 +0000)
commit727313038d46fba74494d4a705dd8bb712a5b3d9
treeaae85019eae015f6bd0f8e3a04625332740c89ac
parent08f6effd42e99aef744f59b738d3e66628befeb7
[XEN] Pin l3 shadows of older x86_64 linux guests.
Older x86_64 linux kernels use one l4 table per cpu and context switch by
changing an l4 entry pointing to an l3 table.  If we're shadowing them
we need to pin l3 shadows to stop them being torn down on every
context switch.  (But don't do this for normal 64bit guests).
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
xen/arch/x86/domain.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c
xen/arch/x86/mm/shadow/private.h
xen/include/asm-x86/domain.h
xen/include/asm-x86/shadow.h